package ModelLayer;

import java.util.ArrayList;

public class SalesOrder {
	
	private int salesOrderID;
	private int customerID;
	private String salesDate;
	private int deliveryStatus;
	private String deliveryDate;
	private ArrayList<Invoice> invoice;
	private ArrayList<PartOrder> partOrder;
	
	public SalesOrder(){
		
		
	}
	
	public SalesOrder(int salesOrderID){
		this.salesOrderID = salesOrderID;
		
	}
	public SalesOrder(int salesOrderID, int customerID, String salesDate, int deliveryStatus, String deliveryDate){
		
		this.salesOrderID = salesOrderID;
		this.customerID = customerID;
		this.salesDate = salesDate;
		this.deliveryStatus = deliveryStatus;
		this.deliveryDate = deliveryDate;
		invoice = new ArrayList<Invoice>();
		partOrder = new ArrayList<PartOrder>();
	}

	public int getSalesOrderID() {
		return salesOrderID;
	}

	public void setSalesOrderID(int salesOrderID) {
		this.salesOrderID = salesOrderID;
	}

	public int getCustomerID() {
		return customerID;
	}

	public void setCustomerID(int customerID) {
		this.customerID = customerID;
	}

	public String getSalesDate() {
		return salesDate;
	}

	public void setSalesDate(String salesDate) {
		this.salesDate = salesDate;
	}

	public int getDeliveryStatus() {
		return deliveryStatus;
	}

	public void setDeliveryStatus(int deliveryStatus) {
		this.deliveryStatus = deliveryStatus;
	}

	public String getDeliveryDate() {
		return deliveryDate;
	}

	public void setDeliveryDate(String deliveryDate) {
		this.deliveryDate = deliveryDate;
	}

	public Invoice getInvoiceNo() {
		return invoiceNo;
	}

	public void setInvoiceNo(Invoice invoiceNo) {
		this.invoiceNo = invoiceNo;
	}
	
}
